<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class uhu_exception</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class uhu_exception</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Exception class used by UHU Applications &amp; Components</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">usedby:</span> <a href="../../Sessions/UHU_exception/uhu_session_Exception.html">uhu_session_Exception</a></li>
				<li><span class="field">usedby:</span> <a href="../../UHU/HTTP/uhu_headerBySAPI.html#methodheaderBySAPI">uhu_headerBySAPI::headerBySAPI()</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_uhu---Exception.php.html">/uhu/Exception.php</a> (line <span class="field">66</span>)
		</p>
		
				
		<pre>Exception
   |
   --uhu_exception</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-vars">Vars</a>
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../UHU_exception/Pinerati/pingerati_exception.html">pingerati_exception</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../UHU_exception/LLSD/uhu_LLSD_exception.html">uhu_LLSD_exception</a></td>
					<td>
											The Exception class thrown by uhu_LLSD components
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../UHU_exception/Ping/ping_package_exception.html">ping_package_exception</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../Smarty/uhu_smarty_exception.html">uhu_smarty_exception</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../UHU_exception/UHU_Config/uhu_install_config_exception.html">uhu_install_config_exception</a></td>
					<td>
											Exception class used by <a href="../../UHU/UHU_Config/uhu_install_config.html">uhu_install_config</a>
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../UHU_exception/UHU_Loadable/uhu_loadable_exception.html">uhu_loadable_exception</a></td>
					<td>
											Exception class thrown by uhu_loadable
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../Sessions/UHU_exception/uhu_session_Exception.html">uhu_session_Exception</a></td>
					<td>
											Exception class used by uhu_session
										</td>
				</tr>
							</table>
		</div>
	</div>



	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																												
												<div class="method-definition">
											<span class="method-result">uhu_exception</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$message</span>, <span class="var-type">integer|null</span>&nbsp;<span class="var-name">$code</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getExtendedMessage" title="details" class="method-name">getExtendedMessage</a>
											([<span class="var-type">int|null</span>&nbsp;<span class="var-name">$code</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname">Exception (Internal Class)</span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name">$code</span><br>
							</span>
													<span class="var-title">
								<span class="var-name">$file</span><br>
							</span>
													<span class="var-title">
								<span class="var-name">$line</span><br>
							</span>
													<span class="var-title">
								<span class="var-name">$message</span><br>
							</span>
													<span class="var-title">
								<span class="var-name">$string</span><br>
							</span>
													<span class="var-title">
								<span class="var-name">$trace</span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-vars">Vars</a>
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">76</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">uhu_exception</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$message</span>, <span class="var-type">integer|null</span>&nbsp;<span class="var-name">$code</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$message</span><span class="var-description">: Error message</span>			</li>
					<li>
				<span class="var-type">integer|null</span>
				<span class="var-name">$code</span><span class="var-description">: Error code, or null</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt>Exception::constructor __construct ( [$message = ], [$code = ] )</dt>
					</dl>
			
	</div>
<a name="methodgetExtendedMessage" id="getExtendedMessage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getExtendedMessage</span> (line <span class="line-number">117</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> an extended error message</li>
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../../Sessions/UHU_exception/uhu_session_Exception.html#methodgetExtendedMessage">uhu_session_Exception::getExtendedMessage()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getExtendedMessage
		</span>
					([<span class="var-type">int|null</span>&nbsp;<span class="var-name">$code</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int|null</span>
				<span class="var-name">$code</span><span class="var-description">: taken from $this-&gt;getCode()</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../UHU_exception/Pinerati/pingerati_exception.html#methodgetExtendedMessage">pingerati_exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../UHU_exception/LLSD/uhu_LLSD_exception.html#methodgetExtendedMessage">uhu_LLSD_exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html#methodgetExtendedMessage">PDO_doc_cache_Exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../UHU_exception/Ping/ping_package_exception.html#methodgetExtendedMessage">ping_package_exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../Smarty/uhu_smarty_exception.html#methodgetExtendedMessage">uhu_smarty_exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../UHU_exception/UHU_Config/uhu_install_config_exception.html#methodgetExtendedMessage">uhu_install_config_exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../UHU_exception/UHU_Loadable/uhu_loadable_exception.html#methodgetExtendedMessage">uhu_loadable_exception::getExtendedMessage()</a>
							</li>
					<li>
				<a href="../../Sessions/UHU_exception/uhu_session_Exception.html#methodgetExtendedMessage">uhu_session_Exception::getExtendedMessage()</a>
							</li>
				</ul>
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">__toString</span> (line <span class="line-number">101</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> calculates the extended error message, adding detailed information if $this-&gt;detailed is set to true</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> uhu_exception::$detailed</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt>Exception::__toString (  )</dt>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname">Exception (Internal Class)</span></p>
					<blockquote>
													<span class="method-name">constructor __construct ( [$message = ], [$code = ] )</span><br>
													<span class="method-name">getCode (  )</span><br>
													<span class="method-name">getFile (  )</span><br>
													<span class="method-name">getLine (  )</span><br>
													<span class="method-name">getMessage (  )</span><br>
													<span class="method-name">getTrace (  )</span><br>
													<span class="method-name">getTraceAsString (  )</span><br>
													<span class="method-name">__clone (  )</span><br>
													<span class="method-name">__toString (  )</span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 13 Jan 2009 23:21:48 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>